package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// 送礼物恢复学习打工时间

type DancePetGiftRecoveryTime struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	CliGiftId    int64          `json:"cli_gift_id" gorm:"column:cli_gift_id;type:bigint;default:0;not null;comment:客户端礼物id"`
	GiftId       string         `json:"gift_id" gorm:"column:gift_id;type:varchar(256);not null;default:'';comment:服务端礼物id"`
	GiftNum      int64          `json:"gift_num" gorm:"column:gift_num;type:bigint;default:0;not null;comment:礼物数量"`
	RecoveryTime int64          `json:"recovery_time" gorm:"column:recovery_time;type:bigint;default:0;not null;comment:恢复时间"` //恢复时间
	CreateId     int64          `json:"create_id" gorm:"column:create_id;type:bigint;default:0;not null;comment:创建人id"`        // 创建人id
	UpdateId     int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`        // 更新人id
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
